﻿using System;

using System.Collections.Generic;
using System.Text;

namespace Acid.Graphics
{
    /// <summary>
    /// All Resources implement this Interface. A Resource is any data
    /// kept on the Graphics Card.
    /// </summary>
    public interface IResource : IDisposable
    {
        Device Device { get; }
        uint Handle { get; }
    }

    public interface IBuffer : IResource
    {
        Type Type { get; }
        int Count { get; }
        void GetData<T>(out T[] data) where T : struct;
        void SetData<T>(T[] data) where T : struct;
    }

    public interface ITexture : IResource
    {
        
        TextureFilter MinFilter { set; }
        TextureFilter MagFilter { set; }
    }

    
}


